using System;
using System.Collections.Generic;
using System.Text;
using DataAccess;
using System.Data;

namespace Presentation.Contracts
{
    /// <summary>
    /// View for master page.
    /// </summary>
    public interface IMasterPageView
    {
        #region Property

        /// <summary>
        /// Gets or sets the search text.
        /// </summary>
        /// <value>The search text.</value>
        string SearchText
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the login.
        /// </summary>
        /// <value>The login.</value>
        string Login
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the password.
        /// </summary>
        /// <value>The password.</value>
        string Password
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the user id.
        /// </summary>
        /// <value>The user id.</value>
        string UserId
        {
            get;
            set;
        }

        List<forum> Forums
        {
            get;
            set;
        }


        string NumMsg
        {
            get;
            set;
        }

        string Invitations
        {
            set;
        }

        IList<user> Friends
        {
            get;
            set;
        }

        /// <summary>
        /// Sets the login message.
        /// </summary>
        /// <param name="message">The message.</param>
        void SetLoginMessage(string message);

        /// <summary>
        /// Sets the logged user.
        /// </summary>
        /// <param name="login">The login.</param>
        void SetLoggedUser(string login);

        /// <summary>
        /// Redirects to page.
        /// </summary>
        /// <param name="iPage">The i page.</param>
        void RedirectToPage(string iPage);

        #endregion Property

        void DisplayGalleries(List<gallery> galleries);
		void ShowForums(DataTable dt);

    }
}
